<template>
  <el-menu
    :default-active="activeIndex"
    class="el-menu-demo"
    mode="horizontal"
    router
  >
    <el-menu-item index="/book" id="usren">作业</el-menu-item>
    <el-menu-item index="/staggerer">电商后台管理项目</el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: 'NotebookApptop',

  data() {
    return {
      activeIndex: '1',
      activeIndex2: '1'
    }
  },

  mounted() {},

  methods: {}
}
</script>

<style lang="less" scoped>
.el-menu-demo {
  position: absolute;
  top: 0;
  width: 100%;
  height: 62px;
  z-index: 999999;
}
.el-menu-demo li {
  float: right;
}
</style>
